package org.jeecg.modules.bobo.common.service.impl;

import org.jeecg.modules.bobo.common.entity.LbSlideItem;
import org.jeecg.modules.bobo.common.mapper.LbSlideItemMapper;
import org.jeecg.modules.bobo.common.service.ILbSlideItemService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: 轮播图
 * @Author: jeecg-boot
 * @Date:   2020-11-26
 * @Version: V1.0
 */
@Service
public class LbSlideItemServiceImpl extends ServiceImpl<LbSlideItemMapper, LbSlideItem> implements ILbSlideItemService {
	
	@Autowired
	private LbSlideItemMapper lbSlideItemMapper;
	
	@Override
	public List<LbSlideItem> selectByMainId(String mainId) {
		return lbSlideItemMapper.selectByMainId(mainId);
	}

    @Override
    public List<LbSlideItem> getByPid(String id) {
        return lbSlideItemMapper.getByPid(id);
    }
}
